package com.ice.body.dict.model;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ice.base.model.BaseModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.stereotype.Component;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
/**
 * Created by GuoYanBin.
 * Description:配置开关-配置开关
 * Create Time: 2021-07-09 11:45
 */
@Component
@Data
public class SwitchModel implements Serializable {

    private Long id;

    @ApiModelProperty(value ="开关代码",position = 0)
    private String code;

    @ApiModelProperty(value ="开关名称",position = 1)
    private String name;

    @ApiModelProperty(value ="描述",position = 2)
    private String switchDesc;

    @ApiModelProperty(value ="状态",position = 3)
    private Integer status;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

}
